package com.fl.niu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 前台用户登录日志
 * @author admin
 */
@Data
@TableName("member_login_log")
public class MemberLoginLog implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 用户id
     */
    @TableField("member_id")
    private Long memberId;
    /**
     * 注册时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * ip
     */
    @TableField("ip")
    private String ip;
    /**
     *城市
     */
    @TableField("city")
    private String city;
    /**
     *登录类型
     */
    @TableField("city")
    @ApiModelProperty(value = "登录类型：0->PC；1->android;2->ios;3->小程序")
    private Integer loginType;
    /**
     *省
     */
    @TableField("province")
    private String province;



}